<?php
/**
 * Created by PhpStorm.
 * User: superxing-cto
 * Date: 17/1/9
 * Time: 12:05
 */

namespace App\Models;

/**
 * Class Payment
 * @property integer id
 * @property integer purchase_id 订单ID
 * @property string client_ip 支付IP
 * @property string currency 币种
 * @property string transaction_no 支付渠道返回的交易流水号
 * @property string order_no 商户订单号
 * @property string pay_id Ping++ID
 * @property string channel 支付渠道
 * @property float amount 支付金额
 * @property boolean live_mode 是否处于live模式
 * @property boolean paid 开发模式
 */
class Payment extends ApplicationModel
{
    protected $fillable = [
        'purchase_id',
        'client_ip',
        'currency',
        'transaction_no',
        'order_no',
        'pay_id',
        'channel',
        'amount',
        'live_mode',
        'paid',
    ];

}
